import 'package:json_annotation/json_annotation.dart';

part 'xindong_notice_class.g.dart';

@JsonSerializable()
class XinDongNoticeClass {
  int id = 0;
  int type = 0;
  int is_read = 0;
  String type_text = "";
  String create_time = "";
  String? context;
  List<XinDongNoticeClass>? child;

  XinDongNoticeClass();

  factory XinDongNoticeClass.fromJson(Map<String, dynamic> json) => _$XinDongNoticeClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongNoticeClassToJson(this);
}
